Home } Page Details } New Links



Displaying links as new for a few weeks after adding them is great. But, adding, removing, and updating that "New" icon for each link is pointless! Let JavaScript do your work for you! Just add a small code (less than 40 characters) next to each link with the date you want it to expire, and it will automatically display the "New" icon until the expiration date. What a time-saver!
Shown as "New" until 6/01/2000
Shown as "New" until 12/01/2000
Shown as "New" until 6/01/2001
Shown as "New" until 12/01/2001

JavaScript Source Code 2002: Page Details: New Links

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!